package com.springboot.pojo.base;

public class BaseModel {

    private int StatusCode;  //返回的状态码，1是登录失败,2用户名或账号不能为空，3用户名已存在
    private String Message;  //存放返回消息
    private Object data;      //返回数据集
    private int total;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getStatusCode() {
        return StatusCode;
    }

    public void setStatusCode(int statusCode) {
        StatusCode = statusCode;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String message) {
        Message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
